package org.example.design.代理.静态;

/**
 * @Auther:Liu
 * @Testname:Assistant
 * @Date:2025/8/15 15:14
 */
public class Assistant implements Traet{
    private Boos boos;

    public Assistant(Boos boos) {
        this.boos = boos;
    }

    @Override
    public void eat() {
        System.out.println("我是秘书，老板不在");
        boos.eat();
        System.out.println("吃完回家");
    }
}
